﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hands.EventBus
{
    public abstract class Event
    {
        internal Type EventType
        {
            get;
            private set;
        }

        public ICallback Sender
        {
            get;
            private set;
        }

        public Event()
        {
            EventType = this.GetType();
        }

        public Event(ICallback sender)
        {
            EventType = this.GetType();
            Sender = sender;
        }
    }
}
